package eirkdbd.lab1.membership.functions.helpers.norms.tnorms;

/**
 * Drastic Tnorm implementation
 * @author pajac
 *
 */
public class DrasticTnorm implements Tnorm {

	public double value(double a, double b) {
		if (a == 1.)
			return b;
		else if (b == 1.)
			return a;
		return 0.;
	}

}
